form

public abstract Optional<FormElement> form()

Returns an Optional that contains the HTML element for the form that contains this element, otherwise an empty Optional.

Throws

when this instance is closed